<!doctype html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=0, width=device-width"/>
	<title>api</title>
	<link rel="stylesheet" type="text/css" href="../css/api.css" />
	<link rel="stylesheet" type="text/css" href="../css/common.css" />
	<link rel="stylesheet" type="text/css" href="../css/base.css" />
	<style>
		body, button, input, select, textarea {
   	 		font-size: 12px;
    		font-family: 'arial,微软雅黑';
    		background: #fff;
		}
		h1, h2, h3, h4, b {
    		font-weight: normal;
		}
		
		.orderCode {
    border-bottom: 1px solid #C5E8F1;
    padding: 10px;
}

		.oder-center {
    		padding: 0px 10px;
		}
		.userInfo {
    margin-top: 10px;
    background-color: #D8EFF7;
    color: #82B0C8;
    padding: 20px 10px;
    border: 2px dashed #D78697;
}
.or-shop {
   
    padding: 10px 11px;
  
    background: #FFFFFF;
    margin-bottom:10px;
}
.z-Limg img {
    position: static;
    top: -50%;
    left: -50%;
    width: 80px;
    vertical-align: middle;
    margin-top: -2px;
}
.z-Limg {
    width: 80px;
    height: 80px;
    line-height: 80px;
    overflow: hidden;
    position: relative;
    text-align: center;
    background: #fff;
    box-shadow: 0 1px 1px #EDEDED;
    margin-top: 3px;
}
.orderCode-1 {
    text-align: center;
    background-color: #D8EFF7;
}
.orderCode {
    border-bottom: 1px solid #C5E8F1;
    padding: 10px;
}.or-detail {
	padding-top:12px;
    margin-left: 90px;
   }
.fl {
    float: left;
}

	</style>
</head>
<body>
	<script id="WinGoodsDetail-template" type="text/x-dot-template">	
		<div class="orderCode"><h3>快递单号：
		{{if(it.company_code){}}
		{{=it.company_code}}
		{{}else{}}
			还未发货，请稍后
		{{}}}
		</h3></div>
        <div class="orderCode"><h3>快递公司：
        {{if(it.company){}}
		{{=it.company}}
		{{}else{}}
			还未发货，请稍后
		{{}}}
       
        
        </h3></div>
        
       
        
        </h3></div>
       
                <div class="userInfo">
            
            
            {{if(it.address){}}
            <h3>{{=it.user}}&nbsp;&nbsp;{{=it.mobile}}</h3>
            <span class="or-span">
            {{=it.address}}
            </span>
			
			{{}else{}}
			<span class="or-span">
				还未填写收货地址
			</span>
			{{}}}
            
        </div>
        <div class="orderCode or-web"><h3>感谢您在机器猫购物，祝您惊喜无限哦！！！</h3></div>
        <div class="or-shop">
            <a class="fl z-Limg"><span class="z-Imgbg "></span><em class="z-Imgtxt"></em><img src="http://www.jqmao.cn/statics/uploads/{{=it.thumb}}" border="0/"></a>
            <input id="hid" type="hidden" value="14265311">

            <div class="u-Rcd-r gray9 or-detail"><p class="z-Rcd-tt"><a class="gray6">{{=it.title}}</a></p>
                                <p>获得者：<em class="blue">{{=it.username}}</em></p>

                <p>揭晓时间：<em class="gray6">{{=it.time}}</em></p>

                <p>幸运码：<em class="gray6">{{=it.q_user_code}}</em></p>
                            </div>
        </div>						{{if(it.orderStatus=='2'){}}
                                    <div id="code" class="orderCode orderCode-1" onclick="submt({{=it.id}})"><h3>确认收货</h3></div>
                                    {{}else if(it.orderStatus=='3'){}}
                                    <div id="code" class="orderCode orderCode-1"><h3>已完成</h3></div>
                                    {{}else{}}
                                    <div id="code" class="orderCode orderCode-1"><h3>备货中</h3></div>
                                    {{}}}
                           
        
	</script>
	<div class="oder-center" id='WinGoodsDetail-content'>
                
    </div>
</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript" src="../script/zepto.min.js"></script>
<script src='../script/swipe.js'></script>
<script type="text/javascript" src="../script/doT.min.js"></script>
<script type="text/javascript" src="../script/common.js"></script>
<script type="text/javascript" src="../script/myGoodsStatus.js"></script>
</html>